import request from './request'

export const list = (data) => {
  return request({
    url: '/accessoriesType/list',
    method: 'POST',
    data
  })
}
export const listAccessType = (data) => {
  return request({
    url: '/accessoriesType/listAccessType',
    method: 'POST',
    data
  })
}
export const save = (data) => {
  return request({
    url: '/accessoriesType/save',
    method: 'POST',
    data
  })
}

export const modify = (data) => {
  return request({
    url: '/accessoriesType/modify',
    method: 'POST',
    data
  })
}

export const remove = (id) => {
  return request({
    url: '/accessoriesType/remove?id=' + id,
    method: 'GET'
  })
}
